﻿using Com.JunCaiSoft.Common.IDao;
using Com.JunCaiSoft.SystemConfig.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Com.JunCaiSoft.SystemConfig.IDao
{
    public interface IAppSecretManageDao : IGeneralDaoAsync<AppSecretManage>
    {
        Task<Int32> AgentIDAsync(String AppName);
        /// <summary>
        /// 获取AppKey
        /// </summary>
        /// <param name="AppName"></param>
        /// <returns></returns>
        Task<String> AppKeyAsync(String AppName);
        /// <summary>
        /// 获取AppSecret
        /// </summary>
        /// <param name="AppName"></param>
        /// <returns></returns>
        Task<String> AppSecretManagerAsync(String AppName);
    }
}
